import 'package:fluro/fluro.dart';
import 'package:flutter/material.dart';
import 'package:moose_app/ui/screens/address_add/address_add_screen.dart';
import 'package:moose_app/ui/screens/address_choose/address_choose_screen.dart';
import 'package:moose_app/ui/screens/address_receiving/address_receiving_screen.dart';
import 'package:moose_app/ui/screens/back_choose/back_choose_screen.dart';
import 'package:moose_app/ui/screens/chat/chat_screen.dart';
import 'package:moose_app/ui/screens/detail/author/detail_author_screen.dart';
import 'package:moose_app/ui/screens/detail/record/detail_record_screen.dart';
import 'package:moose_app/ui/screens/guide/guide_screen.dart';
import 'package:moose_app/ui/screens/login/login_screen.dart';
import 'package:moose_app/ui/screens/main/main_screen.dart';
import 'package:moose_app/ui/screens/message/message_screen.dart';
import 'package:moose_app/ui/screens/order/order_screen.dart';
import 'package:moose_app/ui/screens/profile/profile_screen.dart';
import 'package:moose_app/ui/screens/qr_scan/qr_scan_screen.dart';
import 'package:moose_app/ui/screens/qrcode/qrcode_screen.dart';
import 'package:moose_app/ui/screens/register/register_screen.dart';
import 'package:moose_app/ui/screens/scan_login/scan_login_screen.dart';
import 'package:moose_app/ui/screens/search/search_screen.dart';
import 'package:moose_app/ui/screens/setting/setting_screen.dart';
import 'package:moose_app/ui/screens/sign_in/sign_in_screen.dart';
import 'package:moose_app/ui/screens/splash/splash_screen.dart';
import 'package:moose_app/ui/screens/video/video_screen.dart';
import 'package:moose_app/ui/screens/vip_center/vip_center_screen.dart';
import 'package:moose_app/ui/screens/welcome/welcome_screen.dart';

//Handler rootHandler = Handler(
//    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
//  return ATHMainScreen();
//});

Handler guideHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return ATHGuideScreen();
});

Handler welcomeHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return ATHWelcomeScreen();
});

Handler splashHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return ATHSplashScreen();
});

Handler mainHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return ATHMainScreen();
});

Handler loginHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return ATHLoginScreen();
});

Handler registerHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return ATHRegisterScreen();
});

Handler searchHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return ATHSearchScreen();
});

Handler settingHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return ATHSettingScreen();
});

Handler profileHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return ATHProfileScreen();
});

Handler qrCodeHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return ATHQrCodeScreen();
});

Handler qrScanHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return ATHQrScanScreen();
});

Handler qrScanLoginHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return ATHScanLoginScreen(
    params: params,
  );
});

Handler chatHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return ATHChatScreen();
});

Handler orderHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return ATHOrderScreen();
});

Handler vipCenterHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return ATHVipCenterScreen();
});

Handler signInHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return ATHSignInScreen();
});

Handler detailRecordHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return ATHDetailRecordScreen();
});

Handler detailAuthorHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return ATHDetailAuthorScreen();
});

Handler backChooseHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return ATHBackChooseScreen();
});

Handler receivingAddressHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return ATHAddressReceivingScreen();
});

Handler addAddressHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return ATHAddressAddScreen();
});

Handler addressChooseHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return ATHAddressChooseScreen();
});

Handler videoHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return ATHVideoScreen();
});

Handler shopCartHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return ATHMessageScreen();
});
